package cn.tedu.egproduct.mapper;

import cn.tedu.egproduct.pojo.entity.Product;
import cn.tedu.egproduct.pojo.vo.ProductVo1;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ProductMapper {
    int insertProduct(Product product);
    int deleteProduct(Long pid);
    ProductVo1 selectProductVo1(Long pid);
    int selectProductCount();
    int deleteProductByPid(Long[] pid);
    int deleteProductByPid2(List<Long> ids);

}
